<%@ page import="inscription.InscriptionMajor" %>



			<div class="control-group fieldcontain ${hasErrors(bean: inscriptionMajorInstance, field: 'dateOfCreation', 'error')} required">
				<label for="dateOfCreation" class="control-label"><g:message code="inscriptionMajor.dateOfCreation.label" default="Date Of Creation" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<bs:datePicker name="dateOfCreation" precision="day"  value="${inscriptionMajorInstance?.dateOfCreation}"  />
					<span class="help-inline">${hasErrors(bean: inscriptionMajorInstance, field: 'dateOfCreation', 'error')}</span>
				</div>
			</div>

			<div class="control-group fieldcontain ${hasErrors(bean: inscriptionMajorInstance, field: 'lastUpdate', 'error')} required">
				<label for="lastUpdate" class="control-label"><g:message code="inscriptionMajor.lastUpdate.label" default="Last Update" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<bs:datePicker name="lastUpdate" precision="day"  value="${inscriptionMajorInstance?.lastUpdate}"  />
					<span class="help-inline">${hasErrors(bean: inscriptionMajorInstance, field: 'lastUpdate', 'error')}</span>
				</div>
			</div>

			<div class="control-group fieldcontain ${hasErrors(bean: inscriptionMajorInstance, field: 'major', 'error')} required">
				<label for="major" class="control-label"><g:message code="inscriptionMajor.major.label" default="Major" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:select id="major" name="major.id" from="${institutional.Major.list()}" optionKey="id" required="" value="${inscriptionMajorInstance?.major?.id}" class="many-to-one"/>
					<span class="help-inline">${hasErrors(bean: inscriptionMajorInstance, field: 'major', 'error')}</span>
				</div>
			</div>

			<div class="control-group fieldcontain ${hasErrors(bean: inscriptionMajorInstance, field: 'status', 'error')} required">
				<label for="status" class="control-label"><g:message code="inscriptionMajor.status.label" default="Status" /><span class="required-indicator">*</span></label>
				<div class="controls">
					<g:select  name="status" value ="${inscriptionMajorInstance.status}"  from="${['IN PROGRESS','FINISHED','CANCELLED']}" keys="${[0,1,2]}" />
					<span class="help-inline">${hasErrors(bean: inscriptionMajorInstance, field: 'status', 'error')}</span>
				</div>
			</div>

